package com.lax.advertserver.dao.sys;

import com.lax.advertserver.bean.sys.UserInfo;
import com.lax.advertserver.bo.sys.UserInfoBo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    /**
     * 根据参数查询用户
     * @return
     */
    List<UserInfoBo> getUserInfoByParam(UserInfoBo bo);
}